<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>城报栈 - 市场</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <style>
        /* 确保容器尺寸固定 */
        .wechat-container {
            width: 393px;
            height: 852px;
            position: relative;
            overflow: hidden;
        }
        
        /* 胶囊按钮样式 */
        .capsule-button {
            background: rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        /* 分割线样式 */
        .capsule-divider {
            background: rgba(255, 255, 255, 0.3);
        }
        
        /* 内容区域样式 */
        .content-area {
            height: 808px;
            overflow-y: scroll;
            background: #FFF8E1;
            scroll-behavior: smooth;
        }
        
        /* 隐藏滚动条 */
        .content-area::-webkit-scrollbar {
            display: none;
        }
        
        /* 渐变背景 */
        .gradient-header {
            background: linear-gradient(135deg, #FF7043 0%, #FF8A65 100%);
        }
        
        /* 卡片阴影 */
        .card-shadow {
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        /* 倒计时动画 */
        .countdown {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }
    </style>
</head>
<body class="bg-gray-100 flex items-center justify-center min-h-screen">
    <div class="wechat-container mx-auto bg-white relative">
        <!-- 状态栏 -->
        <div class="h-11 bg-white flex items-center justify-between px-4 text-black relative z-10">
            <!-- 左侧时间 -->
            <div class="text-sm font-medium">1:41</div>
            
            <!-- 右侧状态图标 -->
            <div class="flex items-center gap-1">
                <!-- 5G网络图标 -->
                <div class="text-xs font-medium">5G</div>
                <!-- 信号强度图标 -->
                <div class="flex items-end gap-0.5 ml-1">
                    <div class="w-1 h-1 bg-black rounded-full"></div>
                    <div class="w-1 h-1.5 bg-black rounded-full"></div>
                    <div class="w-1 h-2 bg-black rounded-full"></div>
                    <div class="w-1 h-2.5 bg-black rounded-full"></div>
                </div>
                <!-- 电池图标 -->
                <div class="ml-1 flex items-center">
                    <div class="w-6 h-3 border border-black rounded-sm relative">
                        <div class="absolute inset-0.5 bg-black rounded-sm" style="width: 74%;"></div>
                    </div>
                    <div class="w-0.5 h-1.5 bg-black rounded-r-sm ml-0.5"></div>
                    <span class="text-xs ml-1">37</span>
                </div>
            </div>
        </div>
        
        <!-- 内容区域 -->
        <div class="relative content-area">
            <!-- 微信胶囊按钮 -->
            <div class="absolute right-3 top-1 flex capsule-button rounded-full h-7 w-18 z-20">
                <!-- 三个点按钮 -->
                <div class="w-9 h-7 flex items-center justify-center">
                    <div class="flex gap-0.5">
                        <div class="w-1 h-1 bg-black rounded-full"></div>
                        <div class="w-1 h-1 bg-black rounded-full"></div>
                        <div class="w-1 h-1 bg-black rounded-full"></div>
                    </div>
                </div>
                <!-- 分割线 -->
                <div class="w-px h-4 capsule-divider self-center"></div>
                <!-- 关闭按钮 -->
                <div class="w-9 h-7 flex items-center justify-center">
                    <div class="w-3.5 h-3.5 border border-black rounded-full"></div>
                </div>
            </div>
            
            <!-- 头部区域 -->
            <div class="gradient-header px-4 pt-3 pb-4">
                <div class="flex items-center justify-between mb-4">
                    <div class="flex items-center">
                        <button class="w-8 h-8 bg-white bg-opacity-20 rounded-full flex items-center justify-center mr-3">
                            <svg class="w-5 h-5 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path>
                            </svg>
                        </button>
                        <div>
                            <h1 class="text-white text-xl font-bold">市场</h1>
                            <p class="text-white text-xs opacity-90">团购活动聚合</p>
                        </div>
                    </div>
                    <button class="w-8 h-8 bg-white bg-opacity-20 rounded-full flex items-center justify-center">
                        <svg class="w-5 h-5 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
                        </svg>
                    </button>
                </div>
            </div>
            
            <!-- 分类筛选 -->
            <div class="px-4 -mt-2 mb-4">
                <div class="bg-white rounded-xl p-3 card-shadow">
                    <div class="flex items-center space-x-3 overflow-x-auto">
                        <span class="bg-orange-500 text-white px-3 py-1 rounded-full text-sm whitespace-nowrap">全部</span>
                        <span class="bg-gray-100 text-gray-600 px-3 py-1 rounded-full text-sm whitespace-nowrap">生鲜果蔬</span>
                        <span class="bg-gray-100 text-gray-600 px-3 py-1 rounded-full text-sm whitespace-nowrap">美食餐饮</span>
                        <span class="bg-gray-100 text-gray-600 px-3 py-1 rounded-full text-sm whitespace-nowrap">日用百货</span>
                        <span class="bg-gray-100 text-gray-600 px-3 py-1 rounded-full text-sm whitespace-nowrap">服装鞋帽</span>
                    </div>
                </div>
            </div>
            
            <!-- 限时秒杀 -->
            <div class="px-4 mb-4">
                <div class="bg-gradient-to-r from-red-500 to-pink-500 rounded-xl p-4 card-shadow">
                    <div class="flex items-center justify-between mb-3">
                        <div class="flex items-center">
                            <span class="text-white font-bold text-lg">⚡ 限时秒杀</span>
                            <div class="ml-3 flex items-center space-x-1 countdown">
                                <div class="bg-white bg-opacity-20 px-2 py-1 rounded text-white text-xs font-bold">02</div>
                                <span class="text-white text-xs">:</span>
                                <div class="bg-white bg-opacity-20 px-2 py-1 rounded text-white text-xs font-bold">35</div>
                                <span class="text-white text-xs">:</span>
                                <div class="bg-white bg-opacity-20 px-2 py-1 rounded text-white text-xs font-bold">42</div>
                            </div>
                        </div>
                        <span class="text-white text-sm opacity-90">更多 ></span>
                    </div>
                    <div class="flex space-x-3 overflow-x-auto">
                        <div class="bg-white rounded-lg p-3 min-w-24 text-center">
                            <img src="https://images.unsplash.com/photo-1560472354-b33ff0c44a43?w=60&h=60&fit=crop&crop=center" 
                                 alt="苹果" class="w-12 h-12 rounded-lg mx-auto mb-2">
                            <p class="text-xs text-gray-600 mb-1">新疆苹果</p>
                            <p class="text-red-500 font-bold text-sm">¥19.9</p>
                        </div>
                        <div class="bg-white rounded-lg p-3 min-w-24 text-center">
                            <img src="https://images.unsplash.com/photo-1565299624946-b28f40a0ca4b?w=60&h=60&fit=crop&crop=center" 
                                 alt="橙子" class="w-12 h-12 rounded-lg mx-auto mb-2">
                            <p class="text-xs text-gray-600 mb-1">脐橙礼盒</p>
                            <p class="text-red-500 font-bold text-sm">¥29.9</p>
                        </div>
                        <div class="bg-white rounded-lg p-3 min-w-24 text-center">
                            <img src="https://images.unsplash.com/photo-1571771894821-ce9b6c11b08e?w=60&h=60&fit=crop&crop=center" 
                                 alt="牛奶" class="w-12 h-12 rounded-lg mx-auto mb-2">
                            <p class="text-xs text-gray-600 mb-1">纯牛奶</p>
                            <p class="text-red-500 font-bold text-sm">¥39.9</p>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 团购活动列表 -->
            <div class="px-4 space-y-3">
                <!-- 团购项目1 -->
                <div class="bg-white rounded-xl p-4 card-shadow">
                    <div class="flex items-start">
                        <img src="https://images.unsplash.com/photo-1560472354-b33ff0c44a43?w=80&h=80&fit=crop&crop=center" 
                             alt="水果团购" class="w-20 h-20 rounded-lg object-cover mr-3">
                        <div class="flex-1">
                            <div class="flex items-start justify-between mb-2">
                                <h3 class="font-medium text-gray-800 flex-1">新鲜水果社区团购</h3>
                                <span class="bg-red-100 text-red-600 px-2 py-1 rounded text-xs ml-2">火热</span>
                            </div>
                            <p class="text-sm text-gray-600 mb-2">当季新鲜水果，产地直供，品质保证</p>
                            <div class="flex items-center justify-between mb-2">
                                <div class="flex items-center">
                                    <span class="text-orange-500 font-bold text-lg">¥29.9</span>
                                    <span class="text-gray-400 line-through text-sm ml-2">¥45</span>
                                </div>
                                <div class="text-xs text-gray-500">
                                    <span class="text-green-600 font-medium">已有23人参团</span>
                                </div>
                            </div>
                            <div class="flex items-center justify-between">
                                <div class="flex items-center text-xs text-gray-500">
                                    <svg class="w-3 h-3 mr-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z" clip-rule="evenodd"></path>
                                    </svg>
                                    明日自提点：小区门口
                                </div>
                                <button class="bg-orange-500 text-white px-4 py-2 rounded-lg text-sm">参团</button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 团购项目2 -->
                <div class="bg-white rounded-xl p-4 card-shadow">
                    <div class="flex items-start">
                        <img src="https://images.unsplash.com/photo-1567620905732-2d1ec7ab7445?w=80&h=80&fit=crop&crop=center" 
                             alt="美食团购" class="w-20 h-20 rounded-lg object-cover mr-3">
                        <div class="flex-1">
                            <div class="flex items-start justify-between mb-2">
                                <h3 class="font-medium text-gray-800 flex-1">老字号烤鸭团购</h3>
                                <span class="bg-yellow-100 text-yellow-600 px-2 py-1 rounded text-xs ml-2">限量</span>
                            </div>
                            <p class="text-sm text-gray-600 mb-2">百年老店，传统工艺，现烤现卖</p>
                            <div class="flex items-center justify-between mb-2">
                                <div class="flex items-center">
                                    <span class="text-orange-500 font-bold text-lg">¥88</span>
                                    <span class="text-gray-400 line-through text-sm ml-2">¥128</span>
                                </div>
                                <div class="text-xs text-gray-500">
                                    <span class="text-green-600 font-medium">已有15人参团</span>
                                </div>
                            </div>
                            <div class="flex items-center justify-between">
                                <div class="flex items-center text-xs text-gray-500">
                                    <svg class="w-3 h-3 mr-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z" clip-rule="evenodd"></path>
                                    </svg>
                                    今日18:00截团
                                </div>
                                <button class="bg-orange-500 text-white px-4 py-2 rounded-lg text-sm">参团</button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 团购项目3 -->
                <div class="bg-white rounded-xl p-4 card-shadow">
                    <div class="flex items-start">
                        <img src="https://images.unsplash.com/photo-1584464491033-06628f3a6b7b?w=80&h=80&fit=crop&crop=center" 
                             alt="日用品团购" class="w-20 h-20 rounded-lg object-cover mr-3">
                        <div class="flex-1">
                            <div class="flex items-start justify-between mb-2">
                                <h3 class="font-medium text-gray-800 flex-1">家庭清洁用品套装</h3>
                                <span class="bg-blue-100 text-blue-600 px-2 py-1 rounded text-xs ml-2">新品</span>
                            </div>
                            <p class="text-sm text-gray-600 mb-2">洗衣液+洗洁精+消毒液，家庭必备</p>
                            <div class="flex items-center justify-between mb-2">
                                <div class="flex items-center">
                                    <span class="text-orange-500 font-bold text-lg">¥59.9</span>
                                    <span class="text-gray-400 line-through text-sm ml-2">¥89</span>
                                </div>
                                <div class="text-xs text-gray-500">
                                    <span class="text-green-600 font-medium">已有8人参团</span>
                                </div>
                            </div>
                            <div class="flex items-center justify-between">
                                <div class="flex items-center text-xs text-gray-500">
                                    <svg class="w-3 h-3 mr-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path>
                                    </svg>
                                    满10人成团
                                </div>
                                <button class="bg-orange-500 text-white px-4 py-2 rounded-lg text-sm">参团</button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 团购项目4 -->
                <div class="bg-white rounded-xl p-4 card-shadow">
                    <div class="flex items-start">
                        <img src="https://images.unsplash.com/photo-1441986300917-64674bd600d8?w=80&h=80&fit=crop&crop=center" 
                             alt="服装团购" class="w-20 h-20 rounded-lg object-cover mr-3">
                        <div class="flex-1">
                            <div class="flex items-start justify-between mb-2">
                                <h3 class="font-medium text-gray-800 flex-1">春季新款T恤团购</h3>
                                <span class="bg-purple-100 text-purple-600 px-2 py-1 rounded text-xs ml-2">预售</span>
                            </div>
                            <p class="text-sm text-gray-600 mb-2">纯棉材质，多色可选，舒适透气</p>
                            <div class="flex items-center justify-between mb-2">
                                <div class="flex items-center">
                                    <span class="text-orange-500 font-bold text-lg">¥39.9</span>
                                    <span class="text-gray-400 line-through text-sm ml-2">¥69</span>
                                </div>
                                <div class="text-xs text-gray-500">
                                    <span class="text-green-600 font-medium">已有32人参团</span>
                                </div>
                            </div>
                            <div class="flex items-center justify-between">
                                <div class="flex items-center text-xs text-gray-500">
                                    <svg class="w-3 h-3 mr-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z" clip-rule="evenodd"></path>
                                    </svg>
                                    预计3天后发货
                                </div>
                                <button class="bg-orange-500 text-white px-4 py-2 rounded-lg text-sm">参团</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 底部占位 -->
            <div class="h-20"></div>
        </div>
    </div>
</body>
</html>